<%--
  Created by IntelliJ IDEA.
  User: 王博
  Date: 2017/11/15
  Time: 10:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<title>欢迎注册新鲜e客_新鲜e客（pinnong.com）-通州区网购首选-正品低价、品质保障、配送及时、轻松购物</title>
<css>
    <link rel="stylesheet" type="text/css" href="../../../assets/css/pc/register.css"/>
</css>
<js>
    <script type="text/javascript" src="../../../assets/app/js/register.js"></script>
    <script type="text/javascript" src="../../../assets/js/pc/register.js"></script>
    <script type="text/javascript" src="../../../assets/js/pc/common.js"></script>
</js>
<!-- 导航条 S -->
<div class="header">
    <div class="container">
        <div class="pull-left text-left">
            <a href="#"><img src="../../../assets/img/pc/logo.png" width="165px" border="0"/></a>
        </div>
    </div>
</div>
<!-- 导航条 E -->
<div class="main green-bg">
    <div class="container row">
        <div class="col-sm-6 pull-left">
            <img src="../../../assets/img/pc/zs_register.png"/>
        </div>

        <div class="col-sm-6 pull-right regisiter-con">
            <div class="title">注册账号</div>
            <form class="form-horizontal regisit-wrap-inner" method="post" id="registerForm" onsubmit="return true;"
                  action="/user/register">

                <div class="form-group">
                    <div class="col-xs-12 errorTip">
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-phone"></span></span>
                            <input id="username" type="text" name="username" class="form-control input-lg"
                                   placeholder="手机号" maxlength="11"/>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                            <input id="password" type="password" name="password" minlength="6" maxlength="20"
                                   class="form-control input-lg" placeholder="设置6-20位密码">
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                            <input id="rqpwd" type="password" name="rqpwd" class="form-control input-lg" minlength="6"
                                   maxlength="20" equalto="#password" placeholder="确认密码"/>
                        </div>
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-xs-8" style="padding-right:0; width:230px; border: 0px solid #f00;">
                        <div class="input-group">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-lock"></span></span>
                            <input type="text" id="vlCodeInp" name="imgCode" class="form-control input-lg" maxlength="5"
                                   placeholder="请输入图片验证码" style="width:170px;">
                        </div>
                    </div>
                    <div class="col-xs-4" style="padding-left:0; padding-right: 0; border: 0px solid #f00;">
                        <%--<img id="vlCodeImg" src="/front/captcha?wid=120&amp;hei=45" width="120" height="45" style="cursor: pointer;">--%>
                        <img id="vlCodeImg" alt="点击更换" title="点击更换" width="120" height="45" onclick="changeVerifyCode(this)" src="/kaptcha.jpg" >
                    </div>
                </div>

                <div class="form-group">
                    <div class="col-xs-12">
                        <div class="input-group">
                            <span class="input-group-addon"><span class="glyphicon glyphicon-text-width"></span></span>
                            <input type="text" id="dxyzm" name="dxyzm" class="form-control input-lg" placeholder="短信验证码"
                                   maxlength="6" style="width:170px;"/>
                            <a data-disabled="0" href="javascript:void(0)" id="phonetest" name="phonetest" class="input-group-addon btnSendMessage">获取短信验证码</a>
                        </div>
                    </div>
                </div>
                <div class="form-group">
                    <div class="col-md-12 text-left">
                        <div class="checkbox checked">
                            <label>
                                <input id="ctchk" type="checkbox" checked="">我已阅读并同意《用户注册协议》
                                <a href="members/login" style="position: relative;left: 85px;">立即登录</a>
                            </label>
                        </div>
                    </div>
                </div>
                <div class="space"></div>
                <div class="form-group">
                    <div class="col-xs-12">
                        <button type="submit" class="col-xs-12 btn btn-success btn-lg registerBtn">立即注册</button>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
